<!DOCTYPE html>
<!-- Test passes if you see green text only and no "PA" repetition -->
<html>
<script src="../../resources/ahem.js"></script>
<body style="font-family: Ahem; font-size: 40px; -webkit-font-smoothing: none;">
<style>
li:before { content: "PA"; }
</style>
<li>SS
<div></div>
</li>
<script>
document.body.offsetTop;
document.body.style.color = "green";
</script>
</body>
</html>
